#include<iostream>
using namespace std;
int main()
{
	int a[]={1,2,3,4,5};
	int *i;
	for(i=a;i<a+5;)
	{
		i++;
		cout<<*i<<endl;
		
		
	 } 
	return 0;
}
